Average sentence length |
---|
16.9350 |
sentence length | percentage |
---|---|
2 | 0.0067 |
3 | 0.0633 |
4 | 0.4433 |
5 | 1.1133 |
6 | 2.1133 |
7 | 3.1900 |
8 | 5.1067 |
9 | 4.4167 |
10 | 5.1733 |
11 | 4.9733 |
12 | 5.2333 |
13 | 8.0900 |
14 | 5.6900 |
15 | 4.8833 |
16 | 4.6867 |
17 | 4.2500 |
18 | 4.1600 |
19 | 3.9433 |
20 | 3.5933 |
21 | 3.1667 |
22 | 3.0400 |
23 | 4.0167 |
24 | 2.4767 |
25 | 2.2667 |
26 | 1.9633 |
27 | 1.7033 |
28 | 1.3500 |
29 | 1.2100 |
30 | 1.1900 |
31 | 1.0700 |
32 | 0.9800 |
33 | 0.7800 |
34 | 0.6633 |
35 | 0.6367 |
36 | 0.4900 |
37 | 0.4400 |
38 | 0.3400 |
39 | 0.2800 |
40 | 0.2567 |
41 | 0.1733 |
42 | 0.1400 |
43 | 0.0800 |
44 | 0.0800 |
45 | 0.0200 |
46 | 0.0400 |
47 | 0.0067 |
48 | 0.0067 |
49 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters